//
//  TestJSObject.h
//  changAnCommercial
//
//  Created by 高文富 on 16/11/28.
//  Copyright © 2016年 高文富. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EasyJSWebViewProxyDelegate.h"

@protocol  JavaScriptDelegate;
@interface JavaScriptInterface : NSObject
    @property (strong, nonatomic)NSDictionary *dicValue;
    @property(nonatomic,assign)id <JavaScriptDelegate> delegate;
    -(void)upDataService;
    -(void)exit;
    -(NSString *)get:(NSString *)key;
    -(void)put:(NSString *)key :(NSString *)velue;

@end

@protocol JavaScriptDelegate <NSObject>

    -(void)putTo:(NSString *)key :(NSString *)velue;
    -(void)updateValue;
    -(void)exitClearValue;

@end
